package com.iris.live.services.services.impl;

import com.iris.live.services.data.models.RoleItemInfoModel;
import com.iris.live.services.data.repositories.RoleItemInfoRepository;
import com.iris.live.services.services.RoleItemInfoService;
import com.iris.live.services.services.RoleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by yitianle on 2017/8/10.
 */
@Service
public class RoleItemInfoServiceImpl implements RoleItemInfoService{

    private Logger logger = LoggerFactory.getLogger(RoleItemInfoService.class);

    @Autowired
    private RoleItemInfoRepository roleItemInfoRepository;

    @Override
    public List<RoleItemInfoModel> findAllFunctionList(Integer groupType) {
        return roleItemInfoRepository.findAllFunctionList(groupType);
    }
}
